<template>
	<view>

		<view v-for="(item,index) in datalist" style="margin: 10rpx;">
			<CustomTextView :nId="item.nId" :title="item.title" :isTop="item.isTop" :author="item.author"
				:comments="item.comments" :time="item.time" @click="onCustomViewClick(index)">

			</CustomTextView>
		</view>
	</view>
</template>

<script>
	import CustomTextView from "../../../components/cardViewText.vue"
	// import CustomTextView from "../../components/cardViewText.vue"
	export default {
		components: {
			CustomTextView
		},
		data() {
			return {
				// dataObj:{
				// 	title:"14个月从100家开到1000家门店，蜜雪为何买下这家精酿啤酒商",
				// 	isTop:true,
				// 	author:"界面新闻",
				// 	comments:56,
				// 	time:"2025.10.07"
				// }
				datalist: [{
					nId: "T15627",
					title: "14个月从100家开到1000家门店，蜜雪为何买下这家精酿啤酒商",
					isTop: true,
					author: "界面新闻",
					comments: 56,
					time: "2025.10.07"
				}, {
					nId: "B4485",
					title: "把握历史大势，共创美好未来（观沧海）",
					isTop: false,
					author: "人民日报",
					comments: 1025,
					time: "2025.10.25"
				},{
					nId: "B5954",
					title: "奋进“十五五” 续写新篇章｜“人享其行、物畅其流”加快实现 重塑区域经济格局",
					isTop: false,
					author: "央视网",
					comments: 152200,
					time: "2025.10.28"
				},{
					nId: "S45895",
					title: "整治网络直播打赏乱象 中央网信办开展为期2个月专项行动",
					isTop: false,
					author: "央视网",
					comments: 59874,
					time: "2025.10.27"
				}]
			}
		},
		
		methods: {

		}
	}
</script>

<style>

</style>